.class Lcom/htc/android/footprints/view/GpsUpdatePanel$4$2;
.super Ljava/lang/Object;
.source "GpsUpdatePanel.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/view/GpsUpdatePanel$4;->onClick(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$1:Lcom/htc/android/footprints/view/GpsUpdatePanel$4;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/view/GpsUpdatePanel$4;)V
    .locals 0
    .parameter

    .prologue
    .line 157
    iput-object p1, p0, Lcom/htc/android/footprints/view/GpsUpdatePanel$4$2;->this$1:Lcom/htc/android/footprints/view/GpsUpdatePanel$4;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 3
    .parameter "dialog"
    .parameter "which"

    .prologue
    .line 158
    iget-object v1, p0, Lcom/htc/android/footprints/view/GpsUpdatePanel$4$2;->this$1:Lcom/htc/android/footprints/view/GpsUpdatePanel$4;

    iget-object v1, v1, Lcom/htc/android/footprints/view/GpsUpdatePanel$4;->this$0:Lcom/htc/android/footprints/view/GpsUpdatePanel;

    const/4 v2, 0x1

    #setter for: Lcom/htc/android/footprints/view/GpsUpdatePanel;->updateRequired:Z
    invoke-static {v1, v2}, Lcom/htc/android/footprints/view/GpsUpdatePanel;->access$402(Lcom/htc/android/footprints/view/GpsUpdatePanel;Z)Z

    .line 159
    new-instance v0, Landroid/content/Intent;

    const-string v1, "android.settings.LOCATION_SOURCE_SETTINGS"

    invoke-direct {v0, v1}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V

    .line 160
    .local v0, i:Landroid/content/Intent;
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 161
    iget-object v1, p0, Lcom/htc/android/footprints/view/GpsUpdatePanel$4$2;->this$1:Lcom/htc/android/footprints/view/GpsUpdatePanel$4;

    iget-object v1, v1, Lcom/htc/android/footprints/view/GpsUpdatePanel$4;->this$0:Lcom/htc/android/footprints/view/GpsUpdatePanel;

    #getter for: Lcom/htc/android/footprints/view/GpsUpdatePanel;->mContext:Landroid/content/Context;
    invoke-static {v1}, Lcom/htc/android/footprints/view/GpsUpdatePanel;->access$500(Lcom/htc/android/footprints/view/GpsUpdatePanel;)Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    .line 162
    return-void
.end method
